home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / swriter.jar / text / swriter / guide / fields.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  8.9 KB  |  111 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Using Fields</title><meta name="filename" content="text/swriter/guide/fields"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.501cm;}
  10.         td.Tabelle1A1{
  11.                 }
  12.         table.Tabelle2{
  13.                 }
  14.         span.Tabelle2A{
  15.                 width:1.499cm;}
  16.         span.Tabelle2B{
  17.                 width:16.498cm;}
  18.         tr.Tabelle21{
  19.                 }
  20.         td.Tabelle2A1{
  21.                 }
  22.         table.Tabelle3{
  23.                 }
  24.         span.Tabelle3A{
  25.                 width:3.704cm;}
  26.         span.Tabelle3B{
  27.                 width:14.293cm;}
  28.         td.Tabelle3A1{
  29.                 }
  30.         td.Tabelle3B1{
  31.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  32.         td.Tabelle3A2{
  33.                 }
  34.         td.Tabelle3B2{
  35.                 }
  36.         p.P1{
  37.                 }
  38.         p.P2{
  39.                 }
  40.         span.T1{
  41.                 font-weight:bold;}
  42.         span.fr1{
  43.                 }
  44.         span.fr2{
  45.                 }
  46.         </style></head><body>
  47.    
  48.    
  49.    <p class="P1"/>
  50.    <p class="Head1"><help:key-word value="fields; using" tag="kw68242_1" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="fields" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68242">Using Fields</help:link></help:to-be-embedded></p>
  51.    <p class="Paragraph">Field commands are used, for example, to insert the current date, page number, total page numbers, a cross-reference to another area of text, the content of certain database fields, and many other variables (i.e., fields with changing values) into your document. The main advantage in using fields is that <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> controls the display of field contents and updates the information automatically.</p>
  52.    <p class="Head2">How are field commands displayed?</p>
  53.    <p class="Paragraph">Field commands generally consist of a <span class="T1">field name</span> and a <span class="T1">field content</span>. With the menu command <help:link Id="67750" xmlns:help="http://openoffice.org/2000/help"><span class="T1">View - Fields</span></help:link> you can switch the between the display of field names or field contents. If the <help:link Id="67760" Eid="inhaltfix" xmlns:help="http://openoffice.org/2000/help">Fixed Content</help:link> field is activated, "fix" will be added to the field name.</p>
  54.    <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  55.        <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  56.       </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  57.        <p class="Paragraph">You can turn the colored highlighting of fields on and off by choosing <help:link Id="66219" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Tools - Options - Text Document - View</span></help:link> and selecting the <span class="T1">Highlighting Fields </span>option. You can also turn the highlighting on and off by choosing <span class="T1">View - Field Shadings</span>.</p>
  58.       </span></th></tr></table>
  59.    <p class="Paragraph"/>
  60.    <table><tr class="Tabelle21"><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  61.        <p class="Paragraph"><draw:image draw:style-name="fr2" draw:name="HIND_2" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="1" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  62.       </span></th><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2B">
  63.        <p class="Paragraph">Special <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> defined <help:link Id="67689" xmlns:help="http://openoffice.org/2000/help">tags</help:link> apply to field commands for HTML import and export.</p>
  64.       </span></th></tr></table>
  65.    <p class="Paragraph"/>
  66.    <p class="Head2">What properties do field commands in text documents have?</p>
  67.    <p class="Paragraph">Different types of field commands work differently according to the function in the document.</p>
  68.    <p class="Paragraph">Most fields are used to store variable values and insert them "as is" into the document. These values can be document or database information.</p>
  69.    <p class="Paragraph">Some fields execute an action when the mouse is clicked. You can recognize these fields when you move the mouse pointer over them and it changes into a hand. The actions can be defined differently depending on the field type. The options are as follows:</p>
  70.    <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  71.        <p class="TableHead">Field Type</p>
  72.       </span></th><th class="Tabelle3B1" style="text-align:left;"><span class="Tabelle3B">
  73.        <p class="TableHead">Property</p>
  74.       </span></th></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  75.       <p class="TextInTable">Placeholder</p>
  76.      </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  77.       <p class="TextInTable">A mouse click opens a dialog to insert the object for which the placeholder was set.</p>
  78.      </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  79.       <p class="TextInTable">Insert Reference</p>
  80.      </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  81.       <p class="TextInTable">A mouse click positions the cursor on the set reference.</p>
  82.      </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  83.       <p class="TextInTable">Run macro</p>
  84.      </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  85.       <p class="TextInTable">A mouse click starts the macro.</p>
  86.      </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  87.       <p class="TextInTable">Input Field</p>
  88.      </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  89.       <p class="TextInTable">A mouse click opens a dialog to edit the contents.</p>
  90.      </span></td></tr></table>
  91.    <p class="Paragraph"/>
  92.    <p class="Paragraph">Additionally, for some field types either a short Help tip or the name of the field is displayed when you rest your cursor on the field. In the <span class="T1">Fields</span> dialog, you can specify the name or text to be shown. This applies for variables, database fields, user-defined fields and the fields "Placeholder," "Hidden Text" and "Insert Reference".</p>
  93.    <p class="Head2"><help:key-word value="fields; updating" tag="kw68242_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Updating; fields" tag="kw68242_2" xmlns:help="http://openoffice.org/2000/help"/>How are fields updated?</p>
  94.    <ul class="L1">
  95.     <li class="">
  96.      <p class="P2">Usually, you can press the F9 key to update the fields in a document.</p>
  97.     </li>
  98.     <li class="">
  99.      <p class="P2">For inserted database fields, first select the field and then press the F9 key.</p>
  100.     </li>
  101.     <li class="">
  102.      <p class="P2">To update all fields in a document, choose the <help:link Id="65771" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Edit - Select All</span></help:link><help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch> + A, command and press the F9 key.</p>
  103.     </li>
  104.    </ul>
  105.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  106.    <p class="ParaList"><help:embedded Id="67958" Eid="fields_userdata" xmlns:help="http://openoffice.org/2000/help"/></p>
  107.    <p class="ParaList"><help:embedded Id="68270" Eid="fields_enter" xmlns:help="http://openoffice.org/2000/help"/></p>
  108.    <p class="ParaList"><help:embedded Id="68276" Eid="fields_date" xmlns:help="http://openoffice.org/2000/help"/></p>
  109.    <p class="ParaList"><help:embedded Id="67957" Eid="conditional_text" xmlns:help="http://openoffice.org/2000/help"/></p>
  110.    <p class="ParaList"><help:embedded Id="68295" Eid="conditional_text2" xmlns:help="http://openoffice.org/2000/help"/></p>
  111.   </body></html>